package cn.edu.scau.cmi.dengzejun.chapter08;

import java.util.*;

public class Example8_7 {
	public static void main(String args[]) {
		int[] score= {-120,98,89,120,99};
		int sum=0;
		for (int number:score) {
			assert number>0:"it shouldn't be a source!";
			sum+=number;
		}
		System.out.println("all source:"+sum);
		return;
	}
}
